package com.meteor.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meteor.framework.common.base.AutoEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @Description: 公告
 *
 * @author lynn
 * @date 2024/1/22
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pf_publicity")
public class Publicity extends AutoEntity<Publicity> {


    @Schema(description = "内容")
    private String content;

    @Schema(description = "公告类型  1：公告  2：新闻")
    private Integer type;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "消息来源  1：内部  2：外部")
    private Integer messageSource;

    @Schema(description = "组织id")
    private String orgId;

    @Schema(description = "图片地址")
    private String image;

    @Schema(description = "社区id")
    private String communityId;

    @Schema(description = "是否推荐 1=推荐显示 2=不推荐")
    private Integer publicType;


}
